import React, { memo, useEffect } from 'react';
import { history } from 'umi';
import { useActivate, useUnactivate } from 'react-activation';
import { Input } from 'antd';

export default () => {
  // console.log('====welcome====');
  //
  // useEffect(() => {
  //   console.log('初始化welcome');
  // }, []);
  // useActivate(() => {
  //   console.log('激活welcome');
  // });
  // useUnactivate(() => {
  //   console.log('welcome失活');
  // });

  return (
    <div style={{ background: 'white' }}>
      <Input />
      <p>welcome1</p>
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome</p>*/}
      {/*<p>welcome99</p>*/}
    </div>
  );
};
